#ifndef DATASTRUCT_H
#define DATASTRUCT_H

#include <string>

using namespace std;

struct PositionInfo
{
    int x1;
    int y1;
    int x2;
    int y2;
};

struct BGRInfo
{
    int b;
    int g;
    int r;
};

struct SubtitleInfo
{
    int front_x;
    int front_y;
    int front_start;
    int front_end;
    string front_text;
    int front_size;
    int front_type;
    int front_color_b;
    int front_color_g;
    int front_color_r;
    int front_Chinese_sign;
    SubtitleInfo()
    {
       front_start = 0;
       front_end = 0;
       front_Chinese_sign = 0;
    }
};

struct BoxInfo
{
    int box_x1;
    int box_x2;
    int box_y1;
    int box_y2;
    int box_start;
    int box_end;
    int box_type;
    int box_line;
    int box_color_b;
    int box_color_g;
    int box_color_r;
    BoxInfo()
    {
        box_start = 0;
        box_end = 0;
    }
};

#endif // DATASTRUCT_H
